package cn.xawl.gulimall.product.service;

import cn.xawl.gulimall.product.entity.AttrAttrgroupRelationEntity;
import cn.xawl.gulimall.product.entity.BrandEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.xawl.common.utils.PageUtils;
import cn.xawl.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author lh
 * @email lhm49869999@163.com
 * @date 2020-06-17 13:44:59
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryBrandRelationEntity>  getCategoryListById(Long brandId);

    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    /**
     * 根据分类id查询品牌信息
     * @param catId 分类id
     */
    List<BrandEntity> getBrandListById(Long catId);
}

